﻿using SqlSugar;
using System;
using System.Linq;
using System.Text;

namespace DongFangGuoKai.WMSPlatform.Domain.Model
{
    ///<summary>
    ///
    ///</summary>
    public partial class TInventoryLogs
    {
           public TInventoryLogs(){


           }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>     
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id {get;set;}

        /// <summary>
        /// Desc:0:-入库；1-出库；2-盘点；3-手工调整；4-库存调整；
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? SourceType {get;set;}

        /// <summary>
        /// Desc:来源单号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SourceSn {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? WarehouseId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string WarehouseName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? AreaId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string AreaName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string LocationCode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PalletBarcode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? OwnerId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string OwnerName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? MaterialId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MaterialCode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MaterialName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BatchNo {get;set;}

        /// <summary>
        /// Desc:原始数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? StartQty {get;set;}

        /// <summary>
        /// Desc:变更数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? ChangeQty {get;set;}

        /// <summary>
        /// Desc:最终数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? EndQty {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? BaseUnitId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BaseUnitName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Remark {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateDate {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? CreateUserId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CreateUser {get;set;}

    }
}
